home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / telecomm / 309 / qt / qt.doc next >
Text File  |  1985-11-19  |  12KB  |  320 lines

  1. QT(1)                                    QT(1)
  2.  
  3.  
  4.     USAGE
  5.     qt [no][conn|image] [verbose|terse] [cfg=s] [timeout=n] [dial=c]
  6.     [prefix=s] [suffix=s] [escape=c]
  7.  
  8.     ABSTRACT
  9.     Qt is a modem program for the Atari ST series of microcomputers.
  10.     It can transfer files via xmodem or kermit, it has a builtin
  11.     phonebook with autodial capacity, it allows definition of keyboard
  12.     macros, and it allows reading and writing of configuration files.
  13.  
  14.     DESCRIPTION
  15.     Qt is moded; that is, you are either talking to the modem or talking
  16.     to Qt. Qt takes single-character commands ('.' prefixes some extended
  17.     commands) to do a variety of things;
  18.  
  19.         COMMAND            WHAT IT DOES.
  20.            b=        Show the current baudrate. (Qt supports
  21.                 300,1200, and 2400 baud.)
  22.  
  23.            b1        Set the modem to 1200 baud.
  24.  
  25.            b2        Set the modem to 2400 baud.
  26.  
  27.            b3        Set the modem to 300 baud.
  28.  
  29.            b?        Print a help message for the b commands.
  30.  
  31.            c        Connects to the modem. You get back into
  32.                 command mode by typing the modem escape
  33.                 key (the default escape key is the undo
  34.                 key, but you may change it -- see .s for
  35.                 details.)
  36.  
  37.            d        List a disk directory. When you type 'd',
  38.                 Qt finishes the word 'dir' and waits for
  39.                 you to type in the directory name. If you
  40.                 just type a return, Qt lists the working
  41.                 directory.
  42.                 Each listing show the permissions on the
  43.                 file, how many Kbytes the file takes up,
  44.                 and the filename. The permissions are set
  45.                 up in a list 'dwsh', with a dash meaning
  46.                 that that permission is denied.
  47.  
  48.                 PERMISSION       WHAT IT MEANS.
  49.                     d        File is a directory or
  50.                         volume label.
  51.                     w        File is writable.
  52.                     s        File is a system file.
  53.                     h        File is a hidden file.
  54.            
  55.            h        Hang up the phone. When you type h, Qt echos
  56.                 (thud) and drops carrier for a second. If this
  57.                 doesn't hang up the phone, repeating it two
  58.                 or three times should do the trick.
  59.                 
  60. QT(1)                                    QT(1)
  61.            m        Show current macros and their values.
  62.  
  63.                 Macros are used only in connect mode. When you
  64.                 type a key that you mapped to something else,
  65.                 the string you mapped it to is sent to the
  66.                 host computer.
  67.  
  68.                 (See the explanation of .m for more info)
  69.  
  70.            o        Show current settings of user-settable
  71.                 variables (See the explanation of .s
  72.                 for more info)
  73.                 If you are connected to a host computer, Qt
  74.                 will tell you here.
  75.  
  76.            p=        List the phonebook. Qt maintains a phonebook
  77.                 of up to 26 numbers, which you can call by
  78.                 typing 'px', where x is a lowercase letter.
  79.                 The listing of the phonebook is formatted
  80.                 <letter> => <number>:<comment>.
  81.                 Letter is the letter you type to call that
  82.                 number, <number> is the string that is sent
  83.                 to the modem (any ascii character except a
  84.                 colon), and <comment> is anything that comes
  85.                 after the first colon on the line.
  86.                 (See the description of .p for how to add
  87.                 numbers to the phonebook.)
  88.  
  89.            pa-z        Call phone # a-z. When you dial a number, Qt
  90.                 will automatically add a prefix and suffix
  91.                 to the number it sends to the modem. (So, if
  92.                 you are using a Hayes(tm) modem, Qt sends
  93.                 ATD<number><return> to it.)
  94.  
  95.                 If you want to abort a phone call (before the
  96.                 connection has been established), just press
  97.                 any key -- the phonecall will be cancelled
  98.                 and you will return to the 'qt>' prompt.
  99.  
  100.                 If you have a comment for this phone number,
  101.                 Qt will display 'calling <comment>' while
  102.                 dialing.
  103.  
  104.            p;        Call a number not in the phonebook. When you
  105.                 type this, Qt will prompt you for the phone
  106.                 number, which it will then dial just like a
  107.                 stored phone number.
  108.  
  109.            p!        Redial the last number.
  110.  
  111.            p?        Display a help message for the p command.
  112.  
  113.            q        Quit. Qt completes the word 'quit' and returns
  114.                 you to the calling program (the Desktop.)
  115.  
  116. QT(1)                                    QT(1)
  117.            xr        Get a file using the Xmodem protocol. Qt will
  118.                 prompt you for the name of the file, then for
  119.                 a start character to send to the modem. (so,
  120.                 for example, if you are getting a file from
  121.                 a Citadel BBS, you escape to command mode when
  122.                 it asks you whether you are ready to accept
  123.                 the file -- after doing the xr and entering
  124.                 a filename, using 'y' for the start char will
  125.                 start up the transfer.) On systems that do not
  126.                 wait for a start character, the spacebar is
  127.                 a harmless character to type.
  128.  
  129.                 Qt defaults to image (8 bit ascii) transfers,
  130.                 but you may specify a 7 bit ascii transfer
  131.                 by entering 'xtr'. (You may force binary
  132.                 transfer by typing 'xbr' as well.)
  133.  
  134.            xs        Send a file using the Xmodem protocol. The
  135.                 details of xs are exactly the same as xr, except
  136.                 you are sending the file.
  137.  
  138.            x?        Print a help message for xmodem commands.
  139.  
  140.            !        Do a system command or a shell escape. When you
  141.                 type '!', Qt will wait for you to enter a line
  142.                 to execute (Just return will call up an inter-
  143.                 active shell.) To use !, you must have the program
  144.                 command.prg in the root directory on the current
  145.                 drive or have a shell name specified by the
  146.                 environment variable SHELL.
  147.  
  148.            .b        Print out a version/author banner.
  149.  
  150.            .m        Define a macro. When you enter '.m', Qt will
  151.                 prompt '.map: ' and wait for you to enter a
  152.                 C/R terminated string. If this string is of
  153.                 the form 'x=yyy', Qt will assign the macro
  154.                 'yyy' to the key 'x'. (If the string is not
  155.                 of that form, Qt will give you a nasty message.)
  156.                 You may enter special characters (except ^C --
  157.                 if you enter ^C, Qt will crash!) via '\N',
  158.                 where N is 1 or more hexadecimal digits.
  159.                 (So the string \04=spam\0d assigns the macro
  160.                 spam<C/R> to ^D.)
  161.                 Also, \n maps to ^J, \r maps to <C/R>, and
  162.                 \t maps to <TAB>.
  163.  
  164.            .p        Add or delete a phone number from the phonebook.
  165.                 When you enter '.p', Qt will prompt '.phone:'
  166.                 and waits for you to enter a C/R terminated
  167.                 string. To delete a phone # from the phonebook,
  168.                 enter a string of the form '-x', where 'x' is
  169.                 the menu selection for the phone number you want
  170.                 to zap.
  171.                 Any other string is added to the phonebook.
  172.                 (See the description of 'p' for the form of a legal
  173.                 phone number.)
  174.                         
  175. QT(1)                                    QT(1)
  176.            .r        Read in a new configuration. When you enter '.r',
  177.                 Qt prompts '.read cfg? ' and waits for you to enter
  178.                 a C/R terminated filename. If Qt can read this
  179.                 filename, it will add the configuration information
  180.                 in that file to your current configuration. (See
  181.                 the section on initialization for the format of
  182.                 a configuration file.)
  183.  
  184.            .s        Set a Qt option. When you enter '.s', Qt prompts
  185.                 '.set: ' and waits for you to enter a C/R
  186.                 terminated string. This string may be of the
  187.                 form 'opt=val', 'opt', or 'noopt'. 'opt=val' sets
  188.                 the option to 'str', 'opt' sets the option to
  189.                 TRUE, and 'noopt' sets the option to FALSE.
  190.  
  191.                 Option        What it does
  192.                 [no]image    Set the default mode for
  193.                         file transfers. If you
  194.                         specify 'noimage', files
  195.                         will be transferred with
  196.                         the high-bit stripped.
  197.                         if you specify 'image',
  198.                         file transfers are 8-bit.
  199.                         The default is 'image'
  200.  
  201.                 verbose        Qt will print more and longer
  202.                         messages. (This is the default)
  203.  
  204.                 terse        Qt will remain as silent as
  205.                         it can.
  206.  
  207.                 timeout=NN    Set the file transfer
  208.                         timeout in seconds. If you
  209.                         are transferring a file and
  210.                         the host computer doesn't
  211.                         reply in that time, Qt will
  212.                         attempt to restart the transfer
  213.                         (or abort if repeated tries
  214.                         fail.) The default is
  215.                         'timeout=30'
  216.  
  217.                 prefix=str    Prefix phone numbers with this
  218.                         string when you dial a number.
  219.                         (Qt uses 'ATD' for its default
  220.                         prefix string.)
  221.  
  222.                 suffix=str    Append this string to phone
  223.                         numbers when you dial a number.
  224.                         (Qt uses a single C/R for its
  225.                         default suffix string.)
  226.  
  227.                 escape=char    The key you type to return to
  228.                         command mode from connect mode.
  229.                         (Qt uses <undo> for its default
  230.                         escape character.)
  231.  
  232. QT(1)                                    QT(1)
  233.                     The options below are only used when
  234.                 you first invoke Qt. You may put them into
  235.                 your qt.rc file or specify them on the
  236.                 command line.
  237.  
  238.                 [no]conn    If you specify 'conn', Qt
  239.                         will drop into connect mode
  240.                         when you invoke it. If you
  241.                         specify 'noconn'(the default),
  242.                         Qt will drop into command
  243.                         mode when you invoke it.
  244.  
  245.                 cfg=name    Instead of reading
  246.                         configuration data from the
  247.                         file 'qt.rc', Qt will read
  248.                         the file 'name.' See the
  249.                         section on initialization
  250.                         for more detail on how a
  251.                         configuration file is set up.
  252.  
  253.                 dial=x        Dial phone number 'x' when
  254.                         Qt finishes initialization.
  255.                 
  256.            .w        Write the current configuration to a file. When
  257.                 you enter '.w', Qt will prompt '.write cfg?' and
  258.                 wait for you to enter a C/R terminated filename.
  259.                 Qt then writes out the configuration.
  260.  
  261.            .?        Print out a help message for the '.' commands.
  262.  
  263.     INITIALIZATION
  264.     When you enter Qt, it attempts to set up your configuration from the
  265.     arguments you give it on the command line and the contents of your
  266.     qt.rc file, if any. The arguments on the command line follow the
  267.     format of the .s command (opt=val, opt, noopt...) and are described
  268.     under the description of the .s command.
  269.  
  270.     After dealing with the arguments on the command line, Qt will read
  271.     more configuration from the file 'qt.rc' (or the filename you gave
  272.     it in cfg=name on the command line.) A Qt configuration file is a
  273.     ordinary textfile with different commands on each line. Each command
  274.     is of the format (cmd) (argument):
  275.         command            what it does
  276.  
  277.           set        Set a Qt option. The argument for this
  278.                 command is of the form opt=val, opt, or
  279.                 noopt (the options are described under
  280.                 the .s command.)
  281.  
  282.           map        Define a macro. The argument for this
  283.                 command is of the form 'x=yyy' (just like
  284.                 the .m command -- look there for details.)
  285.  
  286.           dial        Set up a phone number. The argument for this
  287.                 command is the same as the argument for the
  288.                 .p command.
  289.  
  290. QT(1)                                    QT(1)
  291.     In addition, lines beginning with '#', and blank lines are ignored.
  292.  
  293.     Here is a sample Qt configuration file:
  294.  
  295.         # this is a comment line
  296.         set noimage
  297.         set dial=a
  298.         map \01=password\r
  299.         map \04=other password\r
  300.         dial 123-4567:BBS #1
  301.         dial 123-7654:BBS #2
  302.  
  303.     This file configures Qt for ascii text transfers (7-bit), maps
  304.     ^A to 'password<C/R>', ^D to 'other password<C/R>', puts the
  305.     phone number for BBS #1 and BBS #2 into your phonebook, then
  306.     dials BBS #1.
  307.     
  308.     MISCELLANEOUS
  309.     There are 2 main prompts for Qt. If you are not connected to a
  310.     host computer, Qt will prompt for commands with 'Qt>'. If you
  311.     are connected to a host, Qt prompts with '*Qt>'. (All Qt commands
  312.     are available with either prompt.)
  313.  
  314.     BUGS
  315.     The documentation is a wee bit verbose, but it 'probably' doesn't tell
  316.     the novice everything s/he wants to know.
  317.  
  318.     AUTHOR
  319.     Orc (David Parsons)
  320.